angular.module("eighth",[])
.config(["$stateProvider",function($stateProvider){
	$stateProvider.state("/eighth",{
		url:"/eighth",
		templateUrl:"html/eighth_page/eighth.html",
		controller:"eighthController",
		css:"html/eighth_page/eighth.css"
	})
}]).controller("eighthController",function($rootScope,$scope,$http){
	$rootScope.navigate = false;
	$http.get("html/eighth_page/eighth.json").then(function(data){
		$scope.data = data.data.data.splice(0,5);
		$scope.data1 = data.data.data.splice(0,11);
		$scope.data2 = data.data.data.splice(0,7);
	})
})